import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { MainPlanEntity } from '../main-plan/main-plan.entity'
import { SubPlanEntity } from '../sub-plan/entities/sub-plan.entity'
import { SubPlanTaskEntity } from '../sub-plan/entities/sub-plan-task.entity'
import { PlanTaskController } from './plan-task.controller'
import { PlanTaskEntity } from './plan-task.entity'
import { PlanTaskService } from './plan-task.service'

@Module({
  imports: [TypeOrmModule.forFeature([PlanTaskEntity, MainPlanEntity, SubPlanEntity, SubPlanTaskEntity])],
  controllers: [PlanTaskController],
  providers: [PlanTaskService],
  exports: [PlanTaskService],
})
export class PlanTaskModule {}
